package com.bbshop.bean.upload;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@Entity
public class UploadFile implements Serializable{
/**
	 * 
	 */
	private static final long serialVersionUID = -7257938195467425970L;
private int id;
private String filepath;
private Date uploadDate=new Date();
@Id
@GeneratedValue
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
@Column(nullable=false,length=80)
public String getFilepath() {
	return filepath;
}
public void setFilepath(String filepath) {
	this.filepath = filepath;
}
@Temporal(TemporalType.TIMESTAMP)
public Date getUploadDate() {
	return uploadDate;
}
public void setUploadDate(Date uploadDate) {
	this.uploadDate = uploadDate;
}
}
